<template>
    <div class="main-content clearfix">
        <div class="instructions">修改邮箱</div>
        <form action="javascript:">
            <ul class="message">
                <li class="clearfix">
                    <div class="label">请输入旧的邮箱地址：</div>
                    <input type="text" class="information new-password" />
                </li>
                <li class="clearfix">
                    <div class="label">请输入新的邮箱地址：</div>
                    <input type="text" class="information new-password" />
                </li>
            </ul>
            <button class="button">提交</button>
        </form>
    </div>
</template>

<script>
export default {};
</script>

<style scoped>
/*设置修改个人信息栏*/
.main-content {
    margin-top: 20px;
    width: 1040px;
    min-height: 600px;
    background-color: rgba(255, 255, 255, 0.8);
}
/*设置头标*/
.main-content .instructions {
    width: 980px;
    padding-bottom: 20px;
    margin: 30px auto;
    border-bottom: 2px solid rgba(91, 81, 69, 0.4);
}
/*修改表单位置*/
.main-content form {
    margin: 100px auto 200px;
    padding: 40px;
    width: 600px;
    border: 2px solid rgba(91, 81, 69, 0.4);
}

/*修改表单数据的排列*/
.main-content form li {
    font-size: 14px;
    line-height: 30px;
    width: 450px;
    margin: 15px auto 0;
}

.main-content form li .label,
.main-content form li .information {
    float: left;
}
/*修改label的样式让输入框对齐*/
.main-content form li .label {
    width: 160px;
    margin-top: 3px;
}

/*修改input组件的样式*/
.main-content form li .information {
    width: 240px;
    height: 30px;
    color: rgba(91, 81, 69, 0.8);
    font-size: 15px;
    line-height: 30px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    outline: none;
    background-color: transparent;
}

.main-content form .information:hover {
    border-color: rgb(193, 193, 193);
}

.main-content form .information:focus {
    color: rgb(91, 81, 69);
    border-color: rgb(91, 81, 69);
}

.main-content form .button {
    border: none;
    width: 100px;
    height: 40px;
    display: block;
    background-image: linear-gradient(
        to top,
        rgb(72, 62, 50),
        rgb(172, 180, 178)
    );
    color: white;
    font-size: 16px;
    line-height: 30px;
    margin: 20px auto 0;
    box-shadow: 0 0 5px rgba(72, 62, 50, 0.3);
}

.main-content form .button:hover {
    background-image: linear-gradient(
        to top,
        rgb(96, 82, 70),
        rgb(192, 203, 200)
    );
}

.main-content form .button:active {
    background-image: linear-gradient(
        to top,
        rgb(85, 77, 60),
        rgb(182, 185, 190)
    );
}
</style>